package org.jsets.fastboot.flowable.model.entity;

import java.io.Serializable;
import java.util.Date;
import org.javers.core.metamodel.annotation.Id;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@TableName("sys_composite_element")
@ApiModel(description = "聚合流程节点元素")
public class CompositeElement implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(value = "主键")
	private String id;

	private String modelId;
	private String deploymentId;
	private String processKey;
	private String taskDefKey;
	private String taskDefName;
	private String taskType;
	private String createdWebhook;
	private String completedWebhook;
	private String implementation;
	private Date updateTime;
	private String attributes;
	private Boolean mergeWithStartUser;// 发起人合并，审批节点的审批人为发起人时，自动审批
	private Boolean mergeWithPrevious;// 上一步合并，审批节点的审批人与上一步相同时，自动审批
}